package com.shellyan.realtime.gmallpublisher.service;

import java.io.IOException;
import java.math.BigDecimal;
import java.util.Map;

/**
 * @author Shelly An
 * @create 2020/9/4 15:48
 */
public interface PublisherService {
    Long getDau(String date);

    Map<String,Long> getHourDau(String date);

    BigDecimal getTotalAmount(String date);

    Map<String,BigDecimal> getHourTotalAmount(String date);

    Map<String, Object> getSaleDetailAndAggs(String date,
                                             String keyword,
                                             int startpage,
                                             int size) throws IOException;
}


